package org.example.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.activity_manage.model.entity.ActivityStrategyPrizeEntity;
import org.example.infrastructure.persistent.po.ActivityStrategyPrizePO;

import java.util.List;

/**
 * @author lxc18
 * @date 2025/3/12 11:42
 * @description ILotteryRecord
 */
@Mapper
public interface IActivityStrategyPrizeDao {

    int updateStrategyConfig(ActivityStrategyPrizePO activityStrategyPrize);

    ActivityStrategyPrizePO queryStrategy(Long activityId, String strategyName);

    boolean createStrategy(Long activityId, String strategyName);

    List<ActivityStrategyPrizePO> queryStrategyByActivityId(Long activityId);
}
